Skip to content

Commit 6f49647

Browse files
authored
Merge pull request #3937 from brendon/extrabold
Add .has-text-weight-extrabold
2 parents 6e88816 + a18350c commit 6f49647

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Bulma Changelog
22

3+
## Unreleased
4+
5+
- Add .has-text-weight-extrabold as a typography class.
6+
37
## 1.0.3
48

59
### Bug Fixes

docs/documentation/helpers/typography-helpers.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,21 @@
327327
<td><code>has-text-weight-semibold</code></td>
328328
<td>
329329
Transforms text weight to
330-
<span class="has-text-weight-semibold">semi-bold</span>
330+
<span class="has-text-weight-semibold">semibold</span>
331331
</td>
332332
</tr>
333333
<tr>
334334
<td><code>has-text-weight-bold</code></td>
335335
<td>
336-
Transforms text weight to <span class="has-text-weight-bold">bold</span>
336+
Transforms text weight to
337+
<span class="has-text-weight-bold">bold</span>
338+
</td>
339+
</tr>
340+
<tr>
341+
<td><code>has-text-weight-extrabold</code></td>
342+
<td>
343+
Transforms text weight to
344+
<span class="has-text-weight-extrabold">extrabold</span>
337345
</td>
338346
</tr>
339347
</tbody>

sass/helpers/typography.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ $alignments: (
149149
font-weight: iv.$weight-bold !important;
150150
}
151151

152+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-extrabold {
153+
font-weight: iv.$weight-extrabold !important;
154+
}
155+
152156
.#{iv.$class-prefix}#{iv.$helpers-prefix}family-primary {
153157
font-family: dv.$family-primary !important;
154158
}

0 commit comments

Comments
 (0)